﻿
@{
    ViewData["Title"] = "GetByShowWorkOrder";
    Layout = "~/Views/Home/Main.cshtml";
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    @*   <link rel="stylesheet" href="/layui.css"> *@ <!-- 确保layui的CSS路径正确 -->
    <style>
        .form-container {
            width: 80%;
            margin: 0 auto;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .layui-form-item {
            margin-bottom: 20px;
        }

            .layui-form-item .layui-inline {
                margin-right: 20px; /* 为每个内联元素添加右边距 */
            }

            .layui-form-item .layui-input-block {
                margin-left: 0; /* 移除单选按钮块的左边距 */
            }

            .layui-form-item:last-child {
                margin-bottom: 0; /* 移除最后一个表单项的底部边距 */
            }

        .layui-btn {
            margin-right: 10px; /* 为提交按钮添加右边距 */
        }
    </style>
</head>
<body>
    <div class="form-container">
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <h1>基本信息</h1>
                <div class="layui-inline">
                    <label class="layui-form-label">工单状态：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="WorkOrderSart" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">工单编号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="WorkOrderCode" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">客户名称：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="Customer" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
               
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">生产编号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="ProductionNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">订单编号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="OrderCode" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">优先级：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="Priority" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                @* <div class="layui-inline">
                    <label class="layui-form-label">备注：</label>
                    <div class="layui-input-block">
                        <textarea id="Notes" placeholder="请输入内容" class="layui-textarea"></textarea>
                    </div>
                </div> *@
            </div>
          
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">创建时间：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="CreateTime" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">创建人：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="Creates" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">成品名称：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="FinishedProduct" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">成品编号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="FinishedProductCode" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">规格型号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="Specification" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
              
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">尺寸：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="Size" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">计划产量:</label>
                    <div class="layui-input-inline" style="width: 100px;">
                        <input type="number" id="Production" placeholder="" autocomplete="off" class="layui-input" min="0" step="1" lay-affix="number">
                    </div>

                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">车间：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="WorkShop" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
               
            </div>
           
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">工艺路线：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="ProcessRoute" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">计划开始日期：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="StartDate" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">计划结束日期：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="EndDate" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
              
            </div>
            <div class="layui-form-item">
               

            </div>
       
        </form>
        <script src="~/js/Manufacture/GetIdWorkOrder.js"></script>

    </div>

</body>
</html>

